{include file="public_head"}
{include file="public_menu"}
    <div class="content_main" style="padding-bottom: 0;">
        <div class="main_pic" style="height:442px;background: url('/{$ad.picUrl}') no-repeat center;">
            <a href="#"></a>
        </div>
        <div class="content_group">
            <ul class="list_category">
                <li {eq name=':input("tid")' value="" }class="active"{/eq}>
                <a href="{:url('Group/index')}">
                <div></div>
                <span class="title">全部</span>
                </a>
                </li>
                {volist name="cate_lists" id="item"}
                <li {eq name=':input("tid")' value="$item.id" } class="active" {/eq}>
                    <a href="{:url('Group/index',['tid'=>$item.id])}">
                        <div style="background: url('/{$item.picUrl}') no-repeat center;"></div>
                        <span class="title">{$item.title}</span>
                    </a>
                </li>
                {/volist}
            </ul>

            <ul class="list_cate_det" style="width: 1245px;">
                {volist name="data" id="item"}
                <li>
                    <a href="{:url('ShopGoods/index',['good_id'=>$item.goods_id])}" target="_blank">
                        <img src="/{$item.thumb_img}" style="width: 300px;height: 232px;" onerror="this.src='__STATIC__/img/232.png'">
                        <div class="cate_det">
                            <div class="title">{$item.title}</div>
                            <div class="tips">{$item.title}</div>
                            <div class="goods_det">
                                <div class="price">￥<span>{$item.price}</span></div>
                                <div class="nat_det">原价￥{$item.old_price}</div>
                                <!--<span>98%</span>好评-->
                                <div class="num"><span>{$item.sale_number}</span>件已售</div>
                                <div class="buy">立即购买</div>
                            </div>
                        </div>
                    </a>
                </li>
                {/volist}
            </ul>
            <div class="pages" style="margin-top: 10px;">{$data->render();}</div>


        </div>

    </div>


{include file="public_foot"}